package com.holystone.orca.itsm.system.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "sys_menu")
public class SysMenu implements Serializable {
    @Id
    @Column(name = "menu_id")
    private Integer menuId;

    @Column(name = "menu_name")
    private String menuName;

    @Column(name = "menu_pid")
    private Integer menuPid;

    /**
     * url
     */
    @Column(name = "menu_url")
    private String menuUrl;

    @Column(name = "menu_icon")
    private String menuIcon;

    /**
     * 是否展示
     */
    @Column(name = "menu_visible")
    private Integer menuVisible;

    private Integer state;

    @Column(name = "module_id")
    private Integer moduleId;

    /**
     * @return menu_id
     */
    public Integer getMenuId() {
        return menuId;
    }

    /**
     * @param menuId
     */
    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    /**
     * @return menu_name
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * @param menuName
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    /**
     * @return menu_pid
     */
    public Integer getMenuPid() {
        return menuPid;
    }

    /**
     * @param menuPid
     */
    public void setMenuPid(Integer menuPid) {
        this.menuPid = menuPid;
    }

    /**
     * 获取url
     *
     * @return menu_url - url
     */
    public String getMenuUrl() {
        return menuUrl;
    }

    /**
     * 设置url
     *
     * @param menuUrl url
     */
    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    /**
     * @return menu_icon
     */
    public String getMenuIcon() {
        return menuIcon;
    }

    /**
     * @param menuIcon
     */
    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    /**
     * 获取是否展示
     *
     * @return menu_visible - 是否展示
     */
    public Integer getMenuVisible() {
        return menuVisible;
    }

    /**
     * 设置是否展示
     *
     * @param menuVisible 是否展示
     */
    public void setMenuVisible(Integer menuVisible) {
        this.menuVisible = menuVisible;
    }

    /**
     * @return state
     */
    public Integer getState() {
        return state;
    }

    /**
     * @param state
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * @return module_id
     */
    public Integer getModuleId() {
        return moduleId;
    }

    /**
     * @param moduleId
     */
    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }
}